<template>
	<view class="main">
		<view v-html="content" class="box">
			
		</view>
	</view>
</template>

<script>
	import {
		getConfigs
	} from '@/api/user.js'
	export default{
		data(){
			return{
				content:''
			}
		},
		onLoad() {
			this.getData()
		},
		methods:{
			async getData(){
				let res = await getConfigs({
					name:'privacy_policy'
				})
				console.log(res)
				this.content = res.data.value
			}
		}
	}
</script>

<style lang="scss" scoped>
	.main{
		background-color: #fff;
		padding: 10px 15px 15px;
	}
</style>